package com.zw.yzk.kabu.data.network.task;

/**
 * Created by zhanwei on 2017/1/4.
 */

public class CosplayListTask extends Task {
    public static final int DEFAULT_COS_COUNT_PER_PAGE = 5;
    public static final int TYPE_ALL = 0;
    public static final int TYPE_CONCERNED = 1;
    public static final int TYPE_RECOMMEND = 2;

    public int size = 5;//页面，cosplay数目,默认5个
    public boolean getLocal;//是否加载本地数据
    public int type;
    public int start;
    public int lastId;

    public CosplayListTask(int totalCount, boolean getLocal, int type, int lastId) {
        this.start = totalCount;
        if (type > TYPE_RECOMMEND || type < TYPE_ALL) {
            this.type = TYPE_ALL;
        } else {
            this.type = type;
        }
        this.lastId = lastId;
        this.getLocal = getLocal;
    }
}
